package com.whjfxx.terminal.commons;

import lombok.Data;

import javax.validation.constraints.NotNull;
import javax.validation.constraints.Size;
import java.io.Serializable;
import java.util.List;

@Data
public class IdsParam implements Serializable {

    @NotNull(message = "参数不能为空")
    @Size(min = 1, message = "至少需要一个参数")
    private List<Long> ids;

}
